home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / X11 / xkb / symbols / srvr_ctrl < prev    next >
Text File  |  2005-01-13  |  3KB  |  137 lines

  1. // $XdotOrg: xc/programs/xkbcomp/symbols/srvr_ctrl,v 1.2 2004/04/23 19:54:53 eich Exp $
  2. // $XFree86: xc/programs/xkbcomp/symbols/srvr_ctrl,v 1.3 2003/09/08 13:12:37 pascal Exp $
  3. //
  4. // Actions which control the server's behavior
  5.  
  6. partial keypad_keys function_keys
  7. xkb_symbols "xfree86" {
  8.     include "srvr_ctrl(stdkeypad)"
  9.     include "srvr_ctrl(fkey2vt)"
  10. };
  11.  
  12. partial keypad_keys 
  13. xkb_symbols "stdkeypad" {
  14.  
  15.     key <BKSP> {
  16.     type="CTRL+ALT",
  17.     symbols[Group1]= [ BackSpace,   Terminate_Server ]
  18.     };
  19.  
  20. // Ungrab cancels server/keyboard/pointer grabs
  21.     key <KPDV> {
  22.     type="CTRL+ALT",
  23.     symbols[Group1]= [ KP_Divide,    XF86_Ungrab ]
  24.     };
  25.  
  26. // ClsGrb kills whichever client has a grab in effect
  27.     key <KPMU> {
  28.     type="CTRL+ALT",
  29.     symbols[Group1]= [ KP_Multiply,    XF86_ClearGrab ]
  30.     };
  31.  
  32. // -VMode switches to the previous video mode
  33.     key <KPSU> {
  34.     type="CTRL+ALT",
  35.     symbols[Group1]= [ KP_Subtract, XF86_Prev_VMode ]
  36.     };
  37.  
  38. // +VMode switches to the next video mode
  39.     key <KPAD> {
  40.     type="CTRL+ALT",
  41.     symbols[Group1]= [ KP_Add,    XF86_Next_VMode]
  42.     };
  43.  
  44. };
  45.  
  46. partial function_keys 
  47. xkb_symbols "fkey2vt" {
  48.  
  49.     key <FK01> {
  50.     type="CTRL+ALT",
  51.     symbols[Group1]= [ F1,    XF86_Switch_VT_1 ]
  52.     };
  53.  
  54.     key <FK02> {
  55.     type="CTRL+ALT",
  56.     symbols[Group1]= [ F2,    XF86_Switch_VT_2 ]
  57.     };
  58.  
  59.     key <FK03> {
  60.     type="CTRL+ALT",
  61.     symbols[Group1]= [ F3,    XF86_Switch_VT_3 ]
  62.     };
  63.  
  64.     key <FK04> {
  65.     type="CTRL+ALT",
  66.     symbols[Group1]= [ F4,    XF86_Switch_VT_4 ]
  67.     };
  68.  
  69.     key <FK05> {
  70.     type="CTRL+ALT",
  71.     symbols[Group1]= [ F5,    XF86_Switch_VT_5 ]
  72.     };
  73.  
  74.     key <FK06> {
  75.     type="CTRL+ALT",
  76.     symbols[Group1]= [ F6,    XF86_Switch_VT_6 ]
  77.     };
  78.  
  79.     key <FK07> {
  80.     type="CTRL+ALT",
  81.     symbols[Group1]= [ F7,    XF86_Switch_VT_7 ]
  82.     };
  83.  
  84.     key <FK08> {
  85.     type="CTRL+ALT",
  86.     symbols[Group1]= [ F8,    XF86_Switch_VT_8 ]
  87.     };
  88.  
  89.     key <FK09> {
  90.     type="CTRL+ALT",
  91.     symbols[Group1]= [ F9,    XF86_Switch_VT_9 ]
  92.     };
  93.  
  94.     key <FK10> {
  95.     type="CTRL+ALT",
  96.     symbols[Group1]= [ F10,    XF86_Switch_VT_10 ]
  97.     };
  98.  
  99.     key <FK11> {
  100.     type="CTRL+ALT",
  101.     symbols[Group1]= [ F11,    XF86_Switch_VT_11 ]
  102.     };
  103.  
  104.     key <FK12> {
  105.     type="CTRL+ALT",
  106.     symbols[Group1]= [ F12,    XF86_Switch_VT_12 ]
  107.     };
  108.  
  109. };
  110.  
  111. partial function_keys keypad_keys
  112. xkb_symbols "no_srvr_keys" {
  113.  
  114.     key.type="TWO_LEVEL";
  115.  
  116.     key <FK01> { [ F1, F1 ]    };
  117.     key <FK02> { [ F2, F2 ]    };
  118.     key <FK03> { [ F3, F3 ]    };
  119.     key <FK04> { [ F4, F4 ]    };
  120.     key <FK05> { [ F5, F5 ]    };
  121.     key <FK06> { [ F6, F6 ]    };
  122.     key <FK07> { [ F7, F7 ]    };
  123.     key <FK08> { [ F8, F8 ]    };
  124.     key <FK09> { [ F9, F9 ]    };
  125.     key <FK10> { [ F10, F10 ]    };
  126.     key <FK11> { [ F11, F11 ]    };
  127.     key <FK12> { [ F12, F12 ]    };
  128.  
  129.     key <BKSP> { [ BackSpace,    BackSpace    ] };
  130.  
  131.     key <KPDV> { [ KP_Divide,    KP_Divide    ] };
  132.     key <KPMU> { [ KP_Multiply,    KP_Multiply    ] };
  133.     key <KPSU> { [ KP_Subtract,    KP_Subtract    ] };
  134.     key <KPAD> { [ KP_Add,    KP_Add        ] };
  135. };
  136.  
  137.